package pratima.thread;

public class ThreadDemo {

	public static void main(String[] args) {
		MyThread t1 = new MyThread (1);
		MyThread t2 = new MyThread (2);
		MyThread t3 = new MyThread (3);
		MyThread t4 = new MyThread (4);
		
		t1.start();
		t2.start();
		t3.start();
		t4.start();
		
		ThreadWithInterface thread5 =  new ThreadWithInterface(5);
		ThreadWithInterface thread6 =  new ThreadWithInterface(6);
		
//		thread5.run();
//		thread6.run();
		
	}
}
